<p style="margin-top:8px;">这是一篇受密码保护的文章。您需要提供访问密码。</p>
<?php if(isset($_POST['password-'.$post->ID])) { ?>
<p class="error">您输入的密码不正确，请重新输入！</p>
<?php } ?>
<form method="post" action="<?php echo $this->url('post', $post->ID);?>">
<p>
	<label for="post-password-<?php echo $post->ID; ?>">请输入密码：<br/>
	<input id="post-password-<?php echo $post->ID; ?>" type="password" size="20" maxlength="20" name="password-<?php echo $post->ID; ?>">
	</label>&nbsp;<input type="submit" value="提交" name="Submit">
</p>
</form>